package com.itheima.server.imp;

import com.itheima.mapper.CartMapper;
import com.itheima.pojo.Cart;
import com.itheima.server.CartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.itheima.server.CartService;

import java.util.List;

@Service
public class CartServiceImpl implements CartService {
    @Autowired
    private CartMapper cartMapper;
    @Override
    public List<Cart> List() {
        return cartMapper.list();
    }
}
